package test.core;

import static test.util.ConstantCollection.*;

import java.util.Date;

public class TCStep {

	/**
	 * id identifier
	 */
	private String id;
	
	/**
	 * name of Steps
	 */
	private String name;
	
	/**
	 * status
	 */
	private Integer status;
	
	/**
	 * time when step is created 
	 */
	private Date time = new Date();
	
	/**
	 * @param id identifier
	 * @param name of Steps
	 */
	public TCStep(String id, String name) {
		this.id = id;
		this.name = name;
		status = STATUS_UNCHECKED;
	}

	/**
	 * @return id identifier
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * @return name of steps
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @return time when message created
	 */
	public Date getTime() {
		return time;
	}
}
